Skip to content

feat: Default execution condition can be configurable#5019

Closed
wangliang181230 wants to merge 2 commits into1Panel-dev:v2from
wangliang181230:optimize/默认执行条件可配置化

Hidden character warning

The head ref may contain hidden characters: "optimize/\u9ed8\u8ba4\u6267\u884c\u6761\u4ef6\u53ef\u914d\u7f6e\u5316"
Closed

feat: Default execution condition can be configurable#5019
wangliang181230 wants to merge 2 commits into1Panel-dev:v2from
wangliang181230:optimize/默认执行条件可配置化

Conversation

@wangliang181230
Copy link
Copy Markdown
Contributor

@wangliang181230 wangliang181230 commented Apr 2, 2026

What this PR does / why we need it?

feat: Default execution condition can be configurable
新特性:默认执行条件 可配置化了

Summary of your change

docker run \
    -d --name=maxkb --restart=always \
    -p 8080:8080 \
    -v ~/.maxkb:/opt/maxkb \
    -e MAXKB_DEFAULT_EXECUTE_CONDITION=OR \ # 配置该环境变量为OR
    registry.fit2cloud.com/maxkb/maxkb

效果:
新增节点,默认执行条件变为 any(任一)
图片

页面变量:
图片

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Apr 2, 2026

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot bot commented Apr 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@liqiang-fit2cloud
Copy link
Copy Markdown
Member

感谢贡献,没有计划做这个。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants